@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
#back-button .toolbarbutton-menubutton-dropmarker,
#forward-button .toolbarbutton-menubutton-dropmarker{
display:none!important}

#unified-back-forward-button
,#unified-back-forward-button *{
border:0!important}

#back-button *,
#forward-button *{
background-color:transparent!important;
margin:0!important;
padding:0!important}

#PersonalToolbar,
#nav-bar{
border:none!important}

#main-window[tabmode="0"] #navigator-toolbox{
margin-top:28px!important}

#sidebar-box .tabs-closebutton{
display:-moz-box!important}

.tabs-closebutton{
display:none!important}

.tabbrowser-arrowscrollbox > .scrollbutton-down-stack > .scrollbutton-down{
-moz-appearance:none;
width:22px;
border:none;
background:none;
list-style-image:url("chrome://browser/skin/tabbrowser/tab-arrow-end.png");
-moz-image-region:rect(0,17px,18px,0);
margin:1px 6px 1px 0 !important;
padding:0}

.tabbrowser-arrowscrollbox > .scrollbutton-down-stack > .scrollbutton-down > .toolbarbutton-icon{
margin-top:3px;
margin-bottom:3px;
-moz-margin-end:2px;
opacity:0.6}

.tabbrowser-arrowscrollbox > .scrollbutton-down-stack > .scrollbutton-down[disabled="true"] > .toolbarbutton-icon{
opacity:0.3}

.tabbrowser-arrowscrollbox > .scrollbutton-down-stack > .scrollbutton-down:not([disabled="true"]):hover{
-moz-image-region:rect(0,17px,18px,0)}

.tabbrowser-arrowscrollbox > .scrollbutton-down-stack > .scrollbutton-down:not([disabled="true"]):hover > .toolbarbutton-icon{
opacity:0.8}

.tabbrowser-arrowscrollbox > .scrollbutton-down-stack > .scrollbutton-down:not([disabled="true"]):hover:active > .toolbarbutton-icon{
opacity:1}